package com.gdzn.netty.enums;

/**
 * 发送消息类型的枚举
 *
 * @author cxz kenny
 */
public enum RedisNettyKeyEnum {

    preChannelfixKey("netty:channel:", "对应redis key"),
    preScreenfixKey("netty:screen:", "对应redis key"),
    preChannelIdfixKey("netty:channelid:", "对应redis key"),
    prePcCodeKey("netty:pccode:", "对应redis key"),;

    public final String key;
    public final String value;

    RedisNettyKeyEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }
}